<template>
  <div>
    {{ computedList }}
    <button @click="asd">123</button>
  </div>
</template>
<script setup>
import { ref, computed } from "vue";
const list = ref([1, 2, 3, 4, 5, 6, 7, 8]);
const computedList = computed(() => {
  return list.value.filter((item) => item > 2);
});
const asd = () => {
  
};
</script> 